package com.example.diagnose.Domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Repository;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("user")
@Schema(name = "用户实体类")
@Repository
public class User {
    @TableId
    @Schema(name = "用户id")
    private String account;
    @Schema(name = "用户密码")
    private String pwd;
    @Schema(name = "用户邮箱")
    private String email;
    @Schema(name = "用户电话")
    private String tel;
    @Schema(name = "用户头像")
    private String pic;
    @Schema(name = "用户名称")
    private String name;

}
